// 审计画像评价
import GoodManagement from "./GoodManagement"
import WeakManagement from "./WeakManagement"
import PersonalityIssues from "./PersonalityIssues"

const AuditPortrait = ({ data = {} }) => {
  const {
    managementExcellenceBarChart, // 管理较好图表
    managementExcellenceTable, // 管理较好table
    weakLinksBarChart, // 管理薄弱图表
    weakLinkDetails, // 薄弱环节三个图表
    personalityProblemComparisonChart // 个性问题对比图
  } = data

  return (
    <>
      <div
        id="section3"
        className="mt-[24px] h-[36px] flex items-center"
        style={{
          backgroundImage: `url('assistant-decision/title_bg.png')`,
          backgroundRepeat: "no-repeat"
        }}
      >
        <span className="ml-[56px] text-[24px] font-[700]">
          三、审计画像评价
        </span>
        <span className="ml-[36px]">
          以下展示的数据均来自数据中台，通过大模型提炼总结所得。
        </span>
      </div>
      <GoodManagement
        managementExcellenceBarChart={managementExcellenceBarChart}
        managementExcellenceTable={managementExcellenceTable}
      />
      <WeakManagement
        weakLinksBarChart={weakLinksBarChart}
        weakLinkDetails={weakLinkDetails}
      />
      <PersonalityIssues data={personalityProblemComparisonChart} />
    </>
  )
}

export default AuditPortrait
